<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<div class="container">
<div id="info">
	<h2><img src="./image/title_img18.jpg"/></h2>
</div>
		
	<div id="pointDiv">
		<h4 style="margin-left:7%;color:#2A83A5;font-weight:bold;">${id}님의 포인트 내역입니다.</h4>	
		
		<table class="table">
			<thead>
				<tr class="bottom bgcolor">
					<th>날짜</th>
					<th>내역</th>
					<th>포인트</th>
				</tr>
			</thead>
			<tbody>
				<c:forEach var="pointList" items="${pointList}">
					<tr class="bottom">
						<td style="vertical-align: middle; font-size: 18px">${pointList.reg_date}</td>
						<td style="vertical-align: middle; font-size: 18px">${pointList.history}</td>
						<td style="vertical-align: middle; font-size: 18px">${pointList.point}</td>
					</tr>
				</c:forEach>
				<tr>
					<td align="center" style="font-size: 18px;" colspan="3">회원님의 총 포인트는 ${totalPoint}점 입니다.</td>
				</tr>
			</tbody>
		</table>
	</div>
</div>